Skip to content

Actually merge maps instead of just concatenating#578

Merged
robocoder merged 1 commit intoleafo:masterfrom
s7eph4n:map_merge
Jul 22, 2018
Merged

Actually merge maps instead of just concatenating#578
robocoder merged 1 commit intoleafo:masterfrom
s7eph4n:map_merge

Conversation

@s7eph4n
Copy link
Contributor

@s7eph4n s7eph4n commented Jun 9, 2018

libMapMerge used to just concatenate maps, i.e. two maps containing the same key would be merged into one map containing that key twice. The duplicate key did not appear in the css output when the map was used directly in then scss, but it was used by each loops.

This patch fixes it so that the resulting map contains that key only once.

@robocoder
Copy link
Collaborator

Thank you!

@robocoder robocoder merged commit 79f6252 into leafo:master Jul 22, 2018
robocoder added a commit that referenced this pull request Jul 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants